let path = require('path')
module.exports = {
    entry: './src/index.js',
    output: {
        filename: "index.js",
        path: path.resolve(__dirname, 'dist')
    },
    mode: "production",
    module: {
        rules: [
            // {
            //     test: /\.js$/,
            //     exclude: /node_modules/,
            //     loader: "eslint-loader",
            // },
            {
                test: /\.css$/,
                exclude: /node_modules/,
                loader: "css-loader",
            }
        ]
    }
}